﻿using System;
using System.Web.UI;
using App_Code.SiteParsers;

public partial class _Default : Page
{
    //private readonly CacheManager _cacheManager = CacheManager.Instance;

    protected void Page_Load(object sender, EventArgs e)
    {
        var pluginResponseGenerator = new PluginResponseGenerator();
        var rssFeed = pluginResponseGenerator.Run(this.Request.QueryString);       
        
        this.Response.Clear();
        this.Response.ContentType = "text/xml";
        rssFeed.Write(this.Response.OutputStream);
        this.Response.End();
    }
}